Wasted Variable Definition ^^^^^ **Definition:** * A variable is defined and defined again before it is read. **Also Known As:** * DD Data Flow Anomaly **Code Example:** .. code-block:: pseudo function f ( in integer i , out integer j ) { var integer k := 1 ; k := i ; j := k ; } **References:** .. admonition:: Quality attributes * :octicon:`file-code;1em` - Code Example * :octicon:`comment-discussion;1em` - Cause and Effect * :octicon:`graph;1em` - Frequency * :octicon:`sync;1em` - Refactoring * `An approach to quality engineering of TTCN-3 test specifications `_ * `Pattern-based Smell Detection in TTCN-3 Test Suites `_ :octicon:`file-code;1em` :octicon:`comment-discussion;1em` :octicon:`sync;1em` * `Utilising Code Smells to Detect Quality Problems in TTCN-3 Test Suites `_